package com.fanbuchi.fukua.widget;

import android.content.Context;
import android.support.annotation.Nullable;
import android.util.AttributeSet;

/**
 * Created by killerzhangsan on 2015/5/28.
 * @title warning 一般不建议使用，不会重用控件
 * @see {@link com.fanbuchi.fukua.activity.MeCenterActivity}
 */

@Deprecated
public class RecyclerView extends android.support.v7.widget.RecyclerView {

    public RecyclerView(Context context) {
        super(context);
    }

    public RecyclerView(Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
    }

    public RecyclerView(Context context, @Nullable AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
    }

    @Override
    protected void onMeasure(int widthSpec, int heightSpec) {
         int heightSpec1 = MeasureSpec.makeMeasureSpec(Integer.MAX_VALUE >> 2,
                MeasureSpec.AT_MOST);
        super.onMeasure(widthSpec, heightSpec1);
    }
}
